# 相关矩阵图
from pandas import read_csv
import matplotlib.pyplot as plt

filename = '附件2.csv'
names = ['方向', '时间', '车牌号', '交叉口']
data = read_csv(filename, names=names)
correlations = data.corr()
fig = plt.figure()
fig.add_subplot(111)
